import seedrandom from "seedrandom";
export class Seedrandom {
  static randomN(seedran: number | string) {
    return seedrandom(seedran)();
  }
  seedrandom;
  rng;
  constructor(seedran: number | string) {
    this.seedrandom = seedran;
    this.rng = seedrandom(seedran);
  }
  random() {
    return this.rng();
  }
}
